package com.spark.common.model

/**
 * 用户信息
 */
data class UserModel(
    var errno: Int = 0, //0
    var message: String = "",
    var token: String = "", //0717453c-ef01-42e7-98d7-d9686ca4b0ed
    var user: User = User()
)

data class User(
    var id: Int = 0, //3
    var username: String = "", //zwj
    var password: Any = Any(), //null
    var employeeno: String = "", //55
    var name: String = "", //张无忌
    var mobile: String = "", //17000000003
    var idcard: String = "", //1234545
    var sex: Any = Any(), //null
    var external: Int = 0, //0
    var enabled: Int = 0, //1
    var leaved: Any = Any(), //null
    var deleted: Int = 0, //0
    var contactinfo: Any = Any(), //null
    var email: Any = Any(), //null
    var admin: Int = 0, //0
    var sort: Any = Any(), //null
    var remark: Any = Any(), //null
    var pictureId: Int = 0, //267
    var roleset: String = "", ///vb+5w==
    var builtinrolelist: List<String> = listOf(),
    var pictureurl: String = "", ///pluploadDir/1525937789005723218.jpg
    var departmentnames: String = "" //财务部
)